//
//  ReceiverAlertView.h
//  TengyunStation
//
//  Created by Johnny on 15/8/25.
//  Copyright (c) 2015年 xingrong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReceiverTextField.h"
#import "UploadExpress.h"

@protocol ReceiverAlertViewDelegate <NSObject>

- (void)cancelReceiverAlertViewInput;//取消输入
- (void)successUploadExpress:(UploadExpress *)uploadExpress;//上传快递成功

@end

@interface ReceiverAlertView : UIView<UITextFieldDelegate,ReceiverTextFieldDelegate> {
    UIWindow *_alertWindow;
    UILabel *_positionLabel;//编号
    UITextField *_expressIdTextField;//运单号
    ReceiverTextField *_phoneTextField;//手机号
    UITextField *_floorTextField;//几号楼
    UITextField *_roomTextField;//几号房
    
    UploadExpress *_uploadExpress;
}

@property(nonatomic,weak)id<ReceiverAlertViewDelegate>delegate;
@property(nonatomic,strong)NSArray *codeList;

- (id)initWithUploadExpress:(UploadExpress *)uploadExpress;

- (void)show;


@end
